package com.wu.pojo.reqeust.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel
@Data
public class UpdatePositionRequest implements Serializable {

    private static final long serialVersionUID = -6545610367766528325L;

    @ApiModelProperty(value = "职务id")
    @NotNull(message = "id为空")
    private Long positionId;

    @ApiModelProperty(value = "职务名称")
    @NotBlank(message = "职务为空")
    private String positionName;

    @ApiModelProperty(value = "description")
    private String description;
}
